<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel='stylesheet' type="text/css" href="../Public/css/style.css" />
    <script type="text/javascript" src="../Public/js/jquery-1.7.1.min.js"></script>
    <style>
    	html{overflow-x : hidden;}
	</style>
	<base target="main" />
</head>
<body>
    <div class="box">
        <div class="box_tit">
            <em class="hopen"></em>
            <h2><present name="menuTitle">{$menuTitle}</present></h2>
        </div>
        <div class="box_list">
            <ul>
            <volist name="menu" id="item" >
                <eq name="item['pid']" value="$menuTag">
                    <neq name="item['name']|strtolower" value="public" >
                        <neq name="item['name']|strtolower" value="index" >
                            <eq name="item['access']" value="1" >
                            <li><a href="{:U($item['name'].'/index')}">{$item['title']}</a></li>
                            </eq>
                        </neq>
                    </neq>
                </eq>
            </volist>
            </ul>
        </div>   
    </div>
	<script type="text/javascript">
	    $(function(){
	        $(".m-treeview .m-expanded ul").hide();
	        $(".m-treeview .m-expanded span").click(function(){
	
	            var $ul=$(this).siblings("ul");
	            if($ul.is(":visible")){
	                $(this).parent().attr("class","m-collapsed");
	                $ul.hide(); 
	            }else{
	
	                $(this).parent().attr("class","m-expanded");
	                $ul.show();
	            }
	        }); 
	    });
	    $(document).ready(function(){
	        /*点击展开与收缩栏目*/
	        $(".box_tit").click(function(){
	            $(this).next().slideToggle();
	            $(this).children("em").toggleClass("cur");
	        });
	        /*点击选择菜单*/
	        $(".box_list li a").click(function(){
	            $(".box_list li").removeClass("on"); 
	            $(this).parent().addClass("on"); 
	        })
	    });   
	</script>
</body>
</html>